package com.meihuak.cloud_ordering.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *菜品表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Dish {
    @TableId(type = IdType.AUTO)private Integer id;
    private String icon;//图标
    private Integer winId;//窗口号
    private String name;//名称
    private Double price;//价格
    private Integer recommendNum;//推荐人数
    private Integer finishtime;//完成时间

    @Override
    public String toString() {
        return "Dish{" +
                "id=" + id +
                ", winId=" + winId +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", recommendNum=" + recommendNum +
                '}';
    }
}
